import Vue from 'vue';
import App from './App.vue';
import router from './routes/index';
import store from './store/index';

Vue.config.productionTip = false;

store.dispatch('channels/getChannels');

new Vue({
  render: h => h(App),
  router,  // 配置路由对象到Vue实例中
  store, //配置仓库对象到Vue实例中
}).$mount('#app');
